/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2017
 */

package com.shop.pandian.app.vo.query;


import java.io.Serializable;


import org.springframework.format.annotation.DateTimeFormat;
import com.shop.pandian.util.DateUtil;
import com.shop.pandian.framework.annotation.ColumnQuery;
import com.shop.pandian.framework.base.page.BaseQuery;


public class PandianHistoryQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Long id;
	/** pandianDate */
	@DateTimeFormat(pattern="dd/MM/yyyy")
	private java.sql.Date pandianDateBegin;
	@DateTimeFormat(pattern="dd/MM/yyyy")
	private java.sql.Date pandianDateEnd;

	
	@ColumnQuery
	public java.lang.Long getId() {
		return this.id;
	}
	
	public void setId(java.lang.Long value) {
		this.id = value;
	}
	
	
	
	@ColumnQuery(name="pandianDate",operator=">=")
	public java.util.Date getPandianDateBegin() {
		return this.pandianDateBegin;
	}
	
	public void setPandianDateBegin(java.sql.Date value) {
		this.pandianDateBegin = value;
	}	
	
	@ColumnQuery(name="pandianDate",operator="<=")
	public java.util.Date getPandianDateEnd() {
		return DateUtil.getEndOfTheDay(this.pandianDateEnd);
	}
	
	public void setPandianDateEnd(java.sql.Date value) {
		this.pandianDateEnd = value;
	}
	

	
}

